Installing from Source (Windows, Linux)¶
These instructions do not currently work on Mac computers, but will be updated in a subsequent release to support Macs.
Currently the only option for installation on Linux systems is to install the application from source.
Instructions for installing pymdwizard from source are intended for someone with a basic familiarity with Python and Python Package installations.
Install Anaconda or Miniconda.
While the code for the MetadataWizard is compatible with both Python versions 2 and 3, installing the Python 3 version (64x) is recommended, as 2.7 is being phased out.
Open the Anaconda command window.
Add the conda-forge channel:
$ conda config --add channels conda-forge
Install the optional conda developer tools
$ conda install conda-build
Create a pymdwizard environment:
$ conda create --name pymdwizard python=3.6 pyqt=5.6.0*
Activate this environment:
$ activate pymdwizard
$ source activate pymdwizard
Install git:
$ conda install git
Navigate to the directory where the Metadata Wizard will be installed:
The example directory below could be different depending on operating system or organization
$ cd c:/projects
Clone our pymdwizard project:
$ git clone https://github.com/talbertc-usgs/fort-pymdwizard.git
Navigate to our project folder:
$ cd fort-pymdwizard
Install the remaining software requirements (library dependencies):
$ conda install --yes --file requirements.txt
Add our git folder to the pythonpath:
$ conda develop C:/projects/fort-pymdwizard
Launch Metadata Wizard:
$ python pymdwizard/gui/MainWindow.py